﻿import { ISysPerson } from '/@/views/person/sysperson/api/interface'
import { ISysGroup, ISysJobPosition, ISysHrTransferRequestBill } from '/@/views/fileattachment/api/interface'

export interface ISysPersonResume {
  ID?: string | null;
  PersonId: null;
  Person?: ISysPerson;
  TransferRequestId: null;
  TransferRequest?: ISysHrTransferRequestBill;
  ResumeType: string | null;
  StartDate: Date | null;
  EndDate: Date | null;
  OriginalGroupId: null;
  OriginalGroup?: ISysGroup;
  OriginalPositionId: null;
  OriginalPosition?: ISysJobPosition;
  OriginalRank: string | null;
  OriginalBaseSalary: string | null;
  OriginalPositionSalary: string | null;
  OriginalPerformanceSalary: string | null;
  NewGroupId: null;
  NewGroup?: ISysGroup;
  NewPositionId: null;
  NewPosition?: ISysJobPosition;
  NewRank: string | null;
  NewBaseSalary: string | null;
  NewPositionSalary: string | null;
  NewPerformanceSalary: string | null;
  TransferReason: string | null;
  Remark: string | null;
  OriginalDepartmentPosition: string | null; // 原部门和岗位
  NewDepartmentPosition: string | null; // 新部门和岗位
}

export interface ISysPersonResumeVm {
  Entity: ISysPersonResume;

}

export interface ISysPersonResumeView extends ISysPersonResume {

}

export interface ISysPersonResumeQuery {
  PersonId?: string
  TransferRequestId?: string
  ResumeType?: string
  OriginalGroupId?: string
  OriginalPositionId?: string
  OriginalDepartmentPosition?: string
  NewGroupId?: string
  NewPositionId?: string
  NewDepartmentPosition?: string
}